html,
body{
    margin:0;
    padding:0;
    height:100%;
    width:100%;
    background: url("/assets/images/login_bg.jpg") no-repeat center;
    background-size:cover;
}
.loginAndRegBox{
    width:400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    border-radius:8px;
}

.title-box{
    height:60px;
    background: url('/assets/images/login_title.png') no-repeat center;
}

.reg-box{
    display: none;
}

.layui-form{
    padding: 0 30px;
}

/* 列表行绝对定位，用子绝父相来插入特殊字符 */
.layui-form-item{
    position: relative;
}

.layui-icon{
    position: absolute;
    left:10px;
    top:10px;
}

.layui-input{
    padding-left: 40px !important;
}

.links {
    display: flex;
    /* 内容放在最右边 */
    justify-content: flex-end;
  }
  
  .links a {
    font-size: 12px;
  }




